package com.wifi.a007.service;

import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import android.support.annotation.Nullable;
import android.util.Log;

import com.wifi.a007.utile.handleInternet;

public class ArmService extends Service {
    public ArmService() {

        Log.i("first","first");
    }


    @Nullable
    @Override
    public IBinder onBind(Intent intent) {
        return null;
    }


    @Override
    public int onStartCommand(Intent intent, int flags, int startId) {

        Log.i("commond","command");

        String word=intent.getStringExtra("word");
        Log.i("arm",word);
        handleInternet.queryArmWord(word);


        return super.onStartCommand(intent, flags, startId);
    }
}
